package jp.ac.aiit.yc.sww.Resources;

public enum SwwResource {
	DB("db"), SQL("sql");

	// DB
	public static final String DB_DRIVER_NAME = "driver_name";
	public static final String DB_HOST = "db_host";
	public static final String DB_USER = "user";
	public static final String DB_PASSWORD = "password";

	// INSERT用のストアド・プロシージャ
	public static final String SP_LOGIN_EVENT = "sp_login_event";
	public static final String SP_DRAW_EVENT = "sp_draw_event";
	public static final String SP_MODE_EVENT = "sp_mode_event";
	public static final String SP_CLEAR_EVENT = "sp_clear_event";
	public static final String SP_STICKY_EVENT = "sp_sticky_event";	//Added by Kato 2009/01/17
	public static final String SP_PAGE_EVENT = "sp_page_event";
	
	// SELECT用のストアド・プロシージャ
	public static final String SP_GET_PRESENT = "sp_get_present";
	public static final String SP_DRAW_INFO = "sp_draw_info";
	public static final String SP_STICKY_INFO = "sp_sticky_info";
	

	private String name;

	private SwwResource(String name) {
		this.name = name;
	}
	public String toString() {
		return name;
	}
}
